home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat7 / vh.z / vh
Encoding:
Text File  |  2002-10-03  |  5.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. vvvvhhhh((((7777MMMM))))                                                                  vvvvhhhh((((7777MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      vh - disk volume header
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      The volume header is a small partition at the start of every SGI disk.
  13.      Typically it occupies about 2 megabytes, large enough to hold files used
  14.      to boot the system.  Option disks typically do not need this much space,
  15.      but are initialized the same so that they can be easily made into system
  16.      disks if desired.  It contains identifying information for the disk and
  17.      may also contain some files used in standalone operations when the
  18.      operating system is not running.
  19.  
  20.      The volume header of the system root disk can be accessed as /_d_e_v/_r_v_h.
  21.  
  22.      The volume header partitions of other disks can be accessed via the
  23.      appropriate files in the /_d_e_v/_r_d_s_k directory; the volume header special
  24.      files are identified by the suffix `vh'.  The block devices are not
  25.      created by default.  If they are created specially, they can be used
  26.      also.
  27.  
  28.      The first sector of the volume header (and hence the first sector on the
  29.      entire disk) contains the _d_i_s_k _l_a_b_e_l.  The structure of this is defined
  30.      in the file <_s_y_s/_d_v_h._h>.  The file is quite extensively commented, and it
  31.      is worth referring to it as a supplement to the information in this
  32.      reference page.
  33.  
  34.      The disk label contains the following sections:
  35.  
  36.      Magic Number
  37.           This is a unique number which serves to verify that the sector does
  38.           contain a label.
  39.  
  40.      Root Partition Identifier
  41.           If the disk is a system disk, this field identifies the partition to
  42.           be used as the root partition.  The information was used by older
  43.           boot PROMs when the system was booted.  It is redundant on all
  44.           current systems (those supported by this release), but is still set.
  45.           It is used only if the value of the nvram variable _O_S_L_o_a_d_F_i_l_e_n_a_m_e is
  46.           not set (either permanently, or as derived from the other nvram
  47.           variables).
  48.  
  49.      Swap Partition Identifier
  50.           This information is used during system boot.
  51.  
  52.      Boot Filename
  53.           This information is used during system boot; it identifies the
  54.           executable file to be loaded by default (normally the operating
  55.           system).
  56.  
  57.      Device Parameters
  58.           This section is no longer used for any device-specific geometry
  59.           information, despite it's name.  Older style disk controllers, such
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. vvvvhhhh((((7777MMMM))))                                                                  vvvvhhhh((((7777MMMM))))
  71.  
  72.  
  73.  
  74.           as ESDI and SMD that required it are no longer supported.  Currently
  75.           only the queuing depth to be used for each disk drive is read by the
  76.           disk driver from this structure.
  77.  
  78.      Volume Directory
  79.           As well as the label, the volume header partition can store files in
  80.           the remaining space.  These are NOT regular system files; they are
  81.           accessed only via the PROM or standalone shell and do not need to
  82.           appear in any regular directory.  They are typically installed in
  83.           the volume header when the operating system is installed.
  84.  
  85.           The Volume Directory is a table in the disk label which enables such
  86.           files to be located by the PROMs.  Files in the volume header can be
  87.           added or removed by _d_v_h_t_o_o_l(1M).  Filenames may be from 1 to 8
  88.           characters long.
  89.  
  90.      Partitions
  91.           Disk space is required for a number of different purposes in a
  92.           system.  It is not usually practical or desirable to dedicate an
  93.           entire physical disk to each use, so the disk surface is divided
  94.           into a number of partitions.  Typically a partition contains a
  95.           filesystem (such as /_u_s_r) or is used for non-filesystem storage,
  96.           such as swap.  The volume header itself is also a partition.
  97.           Partitions can overlap:  for example, the _v_o_l partition is defined
  98.           to be the whole disk (useful for disk cloning).
  99.  
  100.           In order to direct I/O requests to the correct part of the disk, the
  101.           driver must know the layout of the partitions.  This is specified in
  102.           the partition table contained in the disk label.
  103.  
  104.      The disk label is created by _f_x when the disk is first initialized.  A
  105.      convenient summary of its contents can be printed by _p_r_t_v_t_o_c(1M).
  106.  
  107. FFFFIIIILLLLEEEESSSS
  108.      /dev/rvh
  109.      /dev/rdsk/*vh
  110.  
  111. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  112.      dvhtool(1M), fx(1M), prtvtoc(1M).
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.